
<script language="JavaScript" type="text/javascript">
<!--
function checkForm(formObj) {

	formErrors = false;    

	if (formObj.message.value.length < 2) {
		formErrors = "{L_EMPTY_MESSAGE_EMAIL}";
	}
	else if ( formObj.subject.value.length < 2)
	{
		formErrors = "{L_EMPTY_SUBJECT_EMAIL}";
	}

	if (formErrors) {
		alert(formErrors);
		return false;
	}
}
//-->
</script>

<form action="{S_POST_ACTION}" method="post" name="post" onSubmit="return checkForm(this)">

{ERROR_BOX}

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr>
		<td align="left"><span  class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
	</tr>
</table>

			<table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td valign="top" class="box_content">
				  
				  	<table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td class="box_panel_left"><img src="templates/JustFooty/images/spacer.gif" alt="." width="1" height="1"></td>
                        <td class="box_panel_center"><span class="box_title">{L_SEND_EMAIL_MSG}</span></td>
                        <td width="36" class="box_panel_right"><img src="templates/JustFooty/images/spacer.gif" alt="Index" width="36" height="28" border="0" usemap="#go_to_top"></td>
                      </tr>
                    </table> 

					<table border="0" cellpadding="3" cellspacing="0" width="100%" class="stdtable">
						<tr> 
							<td class="stdcontent" width="22%"><span class="gen"><b>{L_RECIPIENT}</b></span></td>
							<td class="stdcontent" width="78%"><span class="gen">{USERNAME}</span> </td>
						</tr>
						<tr> 
							<td class="stdcontent" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
							<td class="stdcontent" width="78%"><span class="gen"><input type="text" name="subject" size="45" maxlength="100" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" /></span> </td>
						</tr>
						<tr> 
							<td class="stdcontent" valign="top"><span class="gen"><b>{L_MESSAGE_BODY}</b></span><br /><span class="gensmall">{L_MESSAGE_BODY_DESC}</span></td>
							<td class="stdcontent"><span class="gen"><textarea name="message" rows="25" cols="40" wrap="virtual" style="width:500px" tabindex="3" class="post">{MESSAGE}</textarea></span></td>
						</tr>
						<tr> 
							<td class="stdcontent" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span></td>
							<td class="stdcontent"><table cellspacing="0" cellpadding="1" border="0">
								<tr> 
									<td><input type="checkbox" class="input_checkbox" name="cc_email"  value="1" checked="checked" /></td>
									<td><span class="gen">{L_CC_EMAIL}</span></td>
								</tr>
							</table></td>
						</tr>
                        <tr> 
                          <td colspan="2" class="table_topic_post_hdiv"></td>
                        </tr> 							
						<tr>
							<td class="catBottom" colspan="2" align="center" height="28">{S_HIDDEN_FIELDS}<input type="submit" tabindex="6" name="submit" class="mainoption" value="{L_SEND_EMAIL}" /></td>
						</tr>
					</table>

				</td>
                 <td class="box_shadow_right" valign="top"><div class="box_shadow_right_top"><img src="templates/JustFooty/images/spacer.gif" alt="." width="1" height="1"></div></td>
               </tr>
               <tr> 
                 <td class="box_shadow_bottom" align="left"><div class="box_shadow_bottom_left"><img src="templates/JustFooty/images/spacer.gif" alt="." width="1" height="1"></div></td>
                 <td class="box_shadow_bottom_right"><img src="templates/JustFooty/images/spacer.gif" alt="." width="1" height="1"></td>
               </tr>
             </table>	
			 
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
	<tr> 
		<td align="right" valign="top"><span class="gensmall">{S_TIMEZONE}</span></td>
	</tr>
</table></form>

<table width="100%" cellspacing="2" border="0" align="center">
	<tr>
		<td valign="top" align="right">{JUMPBOX}</td>
	</tr>
</table>			 
